public class firstClass {int a;Object o;void myMethod() {for (int i = 0; i < 2; i++) {doSomething();doSomethingElse();}}}